package com.tedu.day02.test;

public class Object超类  extends Object{
    public static void main(String[] args){

        Object[]obj=new Object[4];

        obj[0]=new Object();

        obj[1]="字符串";
        //3int类型
        obj[2]=123;
        //4.当前对象
        obj[3]=new Object超类();
        //遍历：增强for循环
        for(Object b:obj){
            //
            System.out.println(b.getClass());

        }
    }
}
